package com.example.demo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @创建人 Linzhou
 * @创建时间 2021/10/29
 * @描述
 **/
@Data
public class DBConnection implements Serializable {

    @ApiModelProperty(value = "主键")
    private int id;
    @ApiModelProperty(value = "项目id")
    private int projectId;
    @ApiModelProperty(value = "数据库连接类型")
    private int dbType;
    @ApiModelProperty(value = "数据库源名称")
    private String dbConnectionName;
    @ApiModelProperty(value = "数据库连接地址")
    private String dbConnectionUrl;
    @ApiModelProperty(value = "数据库连接用户")
    private String dbConnectionUser;
    @ApiModelProperty(value = "数据库连接密码")
    private String dbConnectionPassword;
    @ApiModelProperty(value = "创建时间")
    private int createTime;
    @ApiModelProperty(value = "更新时间")
    private int updateTime;

    private static final long serialVersionUID = 1L;
}
